package java_book;

//import java.io.BufferedReader;
//import java.io.InputStreamReader;
import java.util.Scanner;

public class KyungYeon_homework_3_2 {

	public static void main( String[] args ) 
			throws java.io.IOException {
			

			int num1, num2;
			int max;
			
//			String input;			
//			System.out.print("Please input num1 : ");
//			InputStreamReader streamReader = new InputStreamReader(System.in);
//			BufferedReader bufferReader = new BufferedReader(streamReader);
//			input = bufferReader.readLine();
//			num1 = Integer.parseInt(input);
//	
//			System.out.print("Please input num2 : ");
//			input = bufferReader.readLine();
//			num2 = Integer.parseInt(input);
			
			Scanner sc = new Scanner(System.in);
			System.out.print("Please input num : ");
			num1 = sc.nextInt();
			num2 = sc.nextInt();
			
			max = (num1>num2)? num1:num2;
			
			System.out.println("Maximum is "+max);
			
	}
}
